#coding=utf-8
#我的-控件集合
class myPage():
    #底部控件
    def __init__(self,driver):
        self.driver = driver
    def login(self):
        return self.driver.find_elements_by_id("com.guokr.mentor:id/text_view_text")[0]
    # def discoverTab(self):
    #     return self.driver.find_elements_by_id("com.guokr.mentor:id/text_view_text")[1]
    # def xinyuan(self):
    #     return self.driver.find_elements_by_id("com.guokr.mentor:id/text_view_text")[2]
    # def my(self):
    #     return self.driver.find_elements_by_id("com.guokr.mentor:id/text_view_text")[3]
    # def location(self):
    #     return self.driver.find_element_by_id("com.guokr.mentor:id/text_view_location")
